package cate.common.table.trademall.currencyshop;

import cate.common.table.ERow;
import cate.common.table.XSSFRowWrap;
import easy.java.dev.note.NoteClass;
import easy.java.dev.note.NoteField;

@NoteClass(value = "交易坊-碎钻兑换 Row")
public class ExchangeTokenRow extends ERow {
    @NoteField(value = "名称")
    public String name;
    @NoteField(value = "消耗钻石数量")
    public String costM1Str;
    @NoteField(value = "基础碎钻数量")
    public String baseTokenStr;
    @NoteField(value = "首兑额外碎钻数量")
    public String extraTokenStr;

    @Override
    public void parse(XSSFRowWrap xrw) {
        super.parse(xrw);
        id = xrw.getInteger("ID");
        name = xrw.getString("名称");
        costM1Str = xrw.getString("消耗钻石数量");
        baseTokenStr = xrw.getString("基础碎钻数量");
        extraTokenStr = xrw.getString("首兑额外碎钻数量");
    }
}
